# Maintainer: Michał Adamski <michal@ert.pl>
pkgname=py3-bitstring
pkgver=3.1.7
pkgrel=0
pkgdesc="Simple construction, analysis and modification of binary data."
url="https://github.com/scott-griffiths/bitstring"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/b/bitstring/bitstring-$pkgver.tar.gz"
builddir="$srcdir/bitstring-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="3c05222b6a6a885664adebb1ea455ef4e199c91698b89bc136a7d3f5f7ceb38868c9883509ba4067c163e1521f85c36abbff9763a590cbfa99705fd08d2a6a6f  bitstring-3.1.7.tar.gz"
